#ifndef _TRANSFORMATION_H_
#define _TRANSFORMATION_H_

#include "Types.h"
#include "tinyxml.h"

class Transformation
{
public:
	Transformation();
	Transformation(TiXmlElement *elem);
	virtual ~Transformation(void) {}

	// Atributes
	string id;

	float matrix[16];

	void parseTransformations(TiXmlElement *elem);
	void multMatrix(float matrix[]);
	
	static std::string Value() { return "transformation"; }
	static string generateID() { return "generated_transformation"; }
};

#endif